wayland: Make gdk_wayland_window_get_wl_output() private
authorOlivier Fourdan <ofourdan@redhat.com>
Thu, 19 May 2016 07:48:46 +0000 (09:48 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Thu, 19 May 2016 07:48:46 +0000 (09:48 +0200)
There is no need to make it a public API, move it to the private header
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=766566

docs/reference/gdk/gdk3-sections.txt
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkwaylandwindow.h
gdk/wayland/gdkwindow-wayland.c

index 6dc208c21867611d54f3ef9309a30e1fffdf7df4..0ca8d48dddc27101fdbbb4ff7281797d72397f5d 100644 (file)
@@ -1245,7 +1245,6 @@ gdk_wayland_display_get_wl_display
 gdk_wayland_display_get_xdg_shell
 gdk_wayland_window_get_wl_surface
 gdk_wayland_window_set_use_custom_surface
-gdk_wayland_window_get_wl_output
 
 <SUBSECTION Standard>
 GDK_TYPE_WAYLAND_DEVICE
index 81770f6640761190796f0715b9e1286960f25473..a95c925ca138a41db249235a1f3e97c4a933d47b 100644 (file)
@@ -274,4 +274,6 @@ EGLSurface gdk_wayland_window_get_dummy_egl_surface (GdkWindow *window,
 void gdk_wayland_seat_set_global_cursor (GdkSeat   *seat,
                                          GdkCursor *cursor);
 
+struct wl_output *gdk_wayland_window_get_wl_output (GdkWindow *window);
+
 #endif /* __GDK_PRIVATE_WAYLAND_H__ */
index fb84d347ed855c786b3103f72642bd268f0932bc..e46ce18d79326d9d8e019b0008b48322cb67602b 100644 (file)
@@ -59,8 +59,6 @@ void                     gdk_wayland_window_set_dbus_properties_libgtk_only (Gdk
                                                                             const char *window_object_path,
                                                                             const char *application_object_path,
                                                                             const char *unique_bus_name);
-GDK_AVAILABLE_IN_3_22
-struct wl_output        *gdk_wayland_window_get_wl_output       (GdkWindow *window);
 
 
 G_END_DECLS
index 64b3cd84571d3292b6e8e37e24e91e94f815e92b..8ee469b21b2d7a48f344ec5a915a304e7275ecde 100644 (file)
@@ -2954,17 +2954,6 @@ gdk_wayland_window_get_wl_surface (GdkWindow *window)
   return GDK_WINDOW_IMPL_WAYLAND (window->impl)->display_server.wl_surface;
 }
 
-/**
- * gdk_wayland_window_get_wl_output:
- * @window: (type GdkWaylandWindow): a #GdkWindow
- *
- * Returns the Wayland output a #GdkWindow has last entered.
- *
- * Returns: (transfer none): a Wayland wl_output or NULL if the #GdkWindow
- * is not associated with any Wayland wl_output.
- *
- * Since: 3.22
- */
 struct wl_output *
 gdk_wayland_window_get_wl_output (GdkWindow *window)
 {